﻿@{
	ViewBag.Title = "添加分类";
	Layout = "~/Views/Shared/_ManageLayout.cshtml";
}

<form action="@Url.Action("Create")" method="post">
	<table class="cols-2">
		<thead>
			<tr>
				<th colspan="4">@ViewBag.Title</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="4" class="buttons">
					<input type="submit" value="提 交" />
				</td>
			</tr>
		</tfoot>
		<tbody>
			<tr class="cols-4">
				<th><label for="CategoryName">分类名：</label></th>
				<td>
					<input type="text" name="CategoryName" id="CategoryName" maxlength="20" />
					<span class="required">*</span>
				</td>
				<th><label for="Weight">权　重：</label></th>
				<td>
					<input type="text" name="Weight" id="Weight" maxlength="3" size="3" />
					<span class="required">*</span>
					<span class="tips">(0-255)</span>
				</td>
			</tr>
			<tr>
				<th><label for="Keywords">关键字：</label></th>
				<td colspan="3"><input type="text" name="Keywords" id="Keywords" maxlength="100" size="50" /></td>
			</tr>
			<tr>
				<th><label for="Description">描　述：</label></th>
				<td colspan="3">
					<textarea name="Description" id="Description" cols="60" rows="3"></textarea>
					<span class="tips" style="vertical-align: bottom;">(255字以内)</span>
				</td>
			</tr>
		</tbody>
	</table>
</form>

@section Script{
<script>require('/manage-page/category/data/1.x/')</script>
}
